package com.wy.crl.log;

import org.eclipse.jface.viewers.ISelection;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;

import com.wy.base.AbstractWizardPage;

/**
 * Spring RestController Log Class向导页面视图,Controller中带Log日志
 * 
 * @auther 飞花梦影
 * @date 2021-07-17 11:13:15
 * @git {@link https://github.com/dreamFlyingFlower}
 */
public class RestCrlLogWizardPage extends AbstractWizardPage {

	public Button maven;

	public Button gradle;

	public Button none;

	public RestCrlLogWizardPage(ISelection selection) {
		super("Spring Restful Controller WizardPage");
		setTitle("Spring Restful Controller Log Wizard");
		setDescription("Spring Restful Controller Log Class Definition");
		this.selection = selection;
	}

	@Override
	public void additionalControl(Composite parent, Composite self) {
		new Label(self, 0);
		Label label = new Label(self, SWT.NULL);
		label.setText("&Project Type:");
		none = new Button(self, SWT.RADIO);
		none.setText("None");
		none.setSelection(true);
		maven = new Button(self, SWT.RADIO);
		maven.setText("Maven");
		gradle = new Button(self, SWT.RADIO);
		gradle.setText("Gradle");
		new GridData(GridData.FILL_HORIZONTAL);
		new Label(self, 0);
	}
}